html,
body {
    height: 80%;
    margin: 0;
}

.menu {
    display: flex;
    margin-top: 2%;
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
    justify-content: space-around;
    padding: 1rem;

    .menu-1,
    .menu-2,
    .menu-3 {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        background-color: #757368;
        border-radius: 50%;
        height: 5vh;
        width: 12vw;
        position: fixed;
        z-index: 11;
    }

    .menu-1 {
        left: 1%;
    }

    .menu-2 {
        left: 70%;
        transform: translateX(-50%);
    }

    .menu-3 {
        right: 3%;
    }
}

.pic {
    margin-top: 12vh;

    .pic-2 {
        margin-left: 9%;
        margin-top: 10%;
    }

    .pic-2 img {
        width: 80vw;
        height: 32vh;
        border-radius: 10%;
    }
}

.detail {
    margin-left: 5%;
    position: relative;

    .detail-1 {
        h4 {
            color: #749BFB;
        }

        h5 {
            color: #C6C6C6;
        }
    }

    .detail-2 {
        display: flex;
        justify-content: space-around;

        .detail-2-1 {
            display: flex;
            flex-direction: column;
            align-items: center;

            h4 {
                color: #292929;
                margin-bottom: 0.2em;
            }

            h5 {
                color: #C6C6C6;
                margin-top: 0.2em;
            }
        }
    }

    .detail-3 {
        width: 80vw;
        margin-left: 5%;

        .detail-3-1 {
            display: flex;
            justify-content: space-between;

            h5 {
                color: #C6C6C6;
            }
        }

    }
}

.comment {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

    .comment-1 {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 56vh;
        background: white;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s cubic-bezier(.25, .8, .25, 1);
        transform: translateY(100%);
        transition: transform 0.6s ease;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        overflow: hidden;
    }

    .comment-1.comment-2 {
        transform: translateY(0);
    }

    .comment-3 {
        position: relative;
        height: 100%;
        padding: 2%;

        .comment-3-1 {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 1rem;
            border-bottom: 1px solid #e1e4e8;
            margin-bottom: 1rem;

            h3 {
                font-size: 1.2rem;
            }

            Close {
                cursor: pointer;
                transition: color 0.3s ease;

                &:hover {
                    color: #c0c0c0;
                }
            }
        }

        .comment-3-2 {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            margin-top: 0;

            .comments-container {
                background-color: #ffffff;
                border-radius: 0.25rem;
                margin: 1.25rem auto;
                max-width: 37.5rem;
            }

            .comment-list {
                width: 100vw;
                max-height: 18rem;
                overflow-y: auto;
                width: 100%;
                padding-right: 1rem;
                background-color: #f9f9f9;
            }

            .comment {
                margin-bottom: 0.625rem;
                display: flex;
                background-color: #ffffff;
                border-radius: 5px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                padding: 1rem;

                img {
                    width: 15vw;
                    height: 7vh;
                    border-radius: 50%;
                    padding-right: 0.1rem;
                }
            }

            .comment-author {
                font-weight: bold;
            }


            .comment-text {
                font-size: 1rem;
                color: #333;
                margin-bottom: 0.5rem;
            }

            .comment-time {
                font-size: 0.875rem;
                color: #888;
            }

            .sticky-input-container {
                margin-left: 2%;
                margin-right: 2%;
                background-color: #218838;
                position: sticky;
                bottom: 0;
                background-color: #fff;
                padding: 0.625rem;
                display: flex;
                align-items: center;
                z-index: 100;
            }

            .comment-input {
                padding: 0.75rem 2rem;
                margin-right: 0.3125rem;
                border: 0.0625rem solid #ddd;
                border-radius: 0.25rem;
            }

            .comment-submit {
                padding: 1rem 2.3rem;
                background-color: #5e5454;
                color: white;
                border: none;
                border-radius: 5px;
                font-size: 1rem;
                height: 5vh;
                cursor: pointer;
                transition: background-color 0.3s ease;
            }

            .comment-submit:hover {
                background-color: #757368;
            }

            .comment-list::-webkit-scrollbar {
                width: 8px;
                background-color: #f1f1f1;
            }

            .comment-list::-webkit-scrollbar-thumb {
                background-color: #c1c1c1;
                border-radius: 4px;
            }

            .comment-list::-webkit-scrollbar-thumb:hover {
                background-color: #a8a8a8;
            }
        }
    }
}